package com.haogu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_crm_department")
public class Department {
    private Integer id;//部门编号
    @TableField("parent_id")
    private Integer parentId;//上级部门
    private  String name;//部门名称
    private String description;//描述
}
